home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / A-B / AutoCat.cpt / AutoCat / background_2241.txt < prev    next >
Text File  |  1989-02-26  |  23KB  |  1,000 lines

  1. -- background: 2241 from stack: in
  2. -- bmap block id: 9179
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. On openCard
  8.   global fromXCMD, volumeXCMD, hardDisk
  9.  
  10.   -- set up for dual scrolling fields
  11.   global initScroll
  12.  
  13.   ScrollEm 0 -- set field scrolls to 0 (XCMD)
  14.  
  15.  
  16.   if bkgnd field "Hard Disk?" contains "true" then --Hard Disk Icon
  17.     set icon of bkgnd btn "Box Name" to 23929
  18.     put "Page#:" into bkgnd field "Name Of Page"
  19.   else
  20.     set icon of bkgnd btn "Box Name" to 24438 -- Floppy Disk Icon
  21.     put "Disk#:" into bkgnd field "Name Of Page"
  22.   end if
  23.  
  24.   if bkgnd field "Files" is empty then -- card is new or erased
  25.  
  26.     put (item 2 of the abbr date)&", "&(item 3 of the abbr date)into bkgnd field "Date"
  27.  
  28.     -- XCMD written by me to index through all files on a disk.
  29.     -- it  reads the directory into 6 bkgnd fields. See Help file for
  30.     -- more details. No parameter signals floppy disk, parameter >0
  31.     -- signals hard disk.
  32.  
  33.  
  34.     if "Template" is not in the short name of this card then
  35.       set lockScreen to true
  36.       if fromXCMD contains false then
  37.         if hardDisk contains true then
  38.           ReadAutoCat 1
  39.         else
  40.           ReadAutoCat
  41.         end if
  42.       end if
  43.       set lockScreen to false
  44.     end if
  45.  
  46.     --index it
  47.     if bkgnd field "Box Card" is not empty then
  48.       put bkgnd field "Box Card" into indxCrd
  49.       put line 1 of bkgnd field "Volume" into vCard -- volume name
  50.       if vCard is empty then
  51.         -- Volume name obtained from XCMD for hard disk pages
  52.         put line 1 of volumeXCMD into vCard
  53.       end if
  54.       put the id of this card into cID
  55.       put bkgnd field "PageOfBox" into linos -- Disk Number
  56.       -- put the volume in the Index Box
  57.       put vCard into line (linos) of bkgnd field "Box Index" of card indxCrd
  58.       -- store the ID of the card
  59.       put cID into line (linos) of bkgnd field "Card Index" of card indxCrd
  60.     end if
  61.   end if
  62.   put false into fromXCMD
  63. end openCard
  64.  
  65.  
  66.  
  67. on DeleteCard
  68.   -- remove the volume name from the index card
  69.   set cursor to 4
  70.   if bkgnd field "Box Card" is not empty then
  71.     put bkgnd field "Box Card" into indxCrd
  72.     put bkgnd field "PageOfBox" into linos
  73.     set lockScreen to true
  74.     set lockMessages to true
  75.     push card
  76.     go to card indxCrd
  77.     if the result is not empty then
  78.       pop card
  79.       pass DeleteCard
  80.     else
  81.       put empty into line (linos) of bkgnd field "Box Index" of card indxCrd
  82.       pop card
  83.     end if
  84.   end if
  85. end DeleteCard
  86.  
  87.  
  88.  
  89.  
  90.  
  91. -- part 12 (field)
  92. -- low flags: 01
  93. -- high flags: 0000
  94. -- rect: left=71 top=278 right=290 bottom=129
  95. -- title width / last selected line: 0
  96. -- icon id / first selected line: 0 / 0
  97. -- text alignment: 0
  98. -- font id: 3
  99. -- text size: 9
  100. -- style flags: 0
  101. -- line height: 12
  102. -- part name: TotalSize
  103.  
  104.  
  105. -- part 1 (field)
  106. -- low flags: 01
  107. -- high flags: 0002
  108. -- rect: left=107 top=26 right=45 bottom=369
  109. -- title width / last selected line: 0
  110. -- icon id / first selected line: 0 / 0
  111. -- text alignment: 1
  112. -- font id: 3
  113. -- text size: 12
  114. -- style flags: 4352
  115. -- line height: 16
  116. -- part name: Volume
  117.  
  118.  
  119. -- part 50 (field)
  120. -- low flags: 01
  121. -- high flags: 2007
  122. -- rect: left=20 top=48 right=278 bottom=92
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 0
  126. -- font id: 3
  127. -- text size: 9
  128. -- style flags: 8192
  129. -- line height: 12
  130. -- part name: Modified
  131. ----- HyperTalk script -----
  132. -- Date Last Modified
  133.  
  134. -- multiple scroll
  135. on mouseWithin
  136.   global initScroll
  137.   ScrollEm (the scroll of me)
  138. end mouseWithin
  139.  
  140.  
  141. on mouseUp
  142.   send mouseUp to bkgnd field "Files"
  143. end mouseUp
  144.  
  145. --find field line clicked on
  146. function lineClicked
  147. return (round((the scroll of the target / the textHeight of the target) +  (((the mouseV - item 2 of the rect of the target) div the textHeight of the target) + 1)))
  148. end lineClicked
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155. -- part 60 (field)
  156. -- low flags: 01
  157. -- high flags: 2007
  158. -- rect: left=75 top=48 right=278 bottom=142
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 0 / 0
  161. -- text alignment: 0
  162. -- font id: 3
  163. -- text size: 9
  164. -- style flags: 0
  165. -- line height: 12
  166. -- part name: Size
  167. ----- HyperTalk script -----
  168. --Size
  169.  
  170. -- multiple scroll
  171. on mouseWithin
  172.   global initScroll
  173.   ScrollEm (the scroll of me)
  174. end mouseWithin
  175.  
  176.  
  177.  
  178. on mouseUp
  179.   send mouseUp to bkgnd field "Files"
  180. end mouseUp
  181.  
  182. --find field line clicked on
  183. function lineClicked
  184. return (round((the scroll of the target / the textHeight of the target) +  (((the mouseV - item 2 of the rect of the target) div the textHeight of the target) + 1)))
  185. end lineClicked
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. -- part 3 (field)
  193. -- low flags: 01
  194. -- high flags: 2007
  195. -- rect: left=118 top=48 right=278 bottom=162
  196. -- title width / last selected line: 0
  197. -- icon id / first selected line: 0 / 0
  198. -- text alignment: 0
  199. -- font id: 150
  200. -- text size: 9
  201. -- style flags: 0
  202. -- line height: 12
  203. -- part name: Kind
  204. ----- HyperTalk script -----
  205. --Small Icon
  206.  
  207. -- multiple scroll
  208. on mouseWithin
  209.   global initScroll
  210.   ScrollEm (the scroll of me)
  211. end mouseWithin
  212.  
  213.  
  214. on mouseUp
  215.   send mouseUp to bkgnd field "Files"
  216. end mouseUp
  217.  
  218. --find field line clicked on
  219. function lineClicked
  220. return (round((the scroll of the target / the textHeight of the target) +  (((the mouseV - item 2 of the rect of the target) div the textHeight of the target) + 1)))
  221. end lineClicked
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228. -- part 2 (field)
  229. -- low flags: 01
  230. -- high flags: 2007
  231. -- rect: left=145 top=48 right=278 bottom=353
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 0
  235. -- font id: 3
  236. -- text size: 9
  237. -- style flags: 0
  238. -- line height: 12
  239. -- part name: Files
  240. ----- HyperTalk script -----
  241. -- File Name
  242.  
  243. -- multiple scroll
  244. on mouseWithin
  245.   global initScroll
  246.   ScrollEm (the scroll of me)
  247. end mouseWithin
  248.  
  249. -- find line clicked on
  250. on mouseUp
  251.   global applPath
  252.   set cursor to 4
  253.   put lineClicked() into selectedfileLine
  254.   put false into flag
  255.   put the ticks into originalTicks
  256.  
  257.   repeat until the mouseClick -- flag a single click
  258.     if the ticks - originalTicks > 30 then
  259.       put true into flag -- single click
  260.       exit repeat
  261.     end if
  262.   end repeat
  263.  
  264.   if flag contains true then
  265.     -- dialog box to display pathway XFCN
  266.     put ShowPath (selectedfileLine,1) into pathResult
  267.     if applPath is not empty then
  268.  
  269.       -- contains application pathname if Record is selected
  270.       put applPath after bkgnd field "APPL Pathways" of card "Applications"
  271.       answer "The pathname has been recorded." with "OK"
  272.     end if
  273.   end if
  274.  
  275.   if flag contains false then -- on double click
  276.     -- the parameter of 2 allows calculation of pathname without
  277.     -- displaying dialog box.
  278.     put ShowPath (selectedfileLine,2) into pathResult
  279.   end if
  280.  
  281.   -- results of XFCN
  282.   put line 1 of pathResult into thePathName
  283.   put line 2 of pathResult into theFileType
  284.   put line 3 of pathResult into theCreator
  285.  
  286.   if theFileType contains "STAK" then -- if you chose a HC stack
  287.     go to stack thePathName
  288.     exit mouseUp
  289.   end if
  290.  
  291.   if theFileType contains "APPL" then -- if you chose an application
  292.     open thePathName
  293.     exit mouseUp
  294.   end if
  295.  
  296.   if theFileType contains numToChar(45)&numToChar(45)&numToChar(45)&numToChar(45) then   -- you chose a folder
  297.     answer "You cannot launch a folder." with "True"
  298.     exit mouseUp
  299.   end if
  300.  
  301.   if theFileType is not empty then -- launch a document?
  302.     -- XFCN to check applications page for pathname with same
  303.     -- Creator, i.e., the proper application for the document
  304.     put CheckApplList (theCreator) into checkList
  305.     if checklist is empty then
  306.       answer "Choose an Application for this Document?" with "Cancel" or "OK"
  307.       if it contains "Cancel" then exit mouseUp
  308.  
  309.       -- a mutant and inelegant XFCN similar in result to Steve Maller's
  310.       -- fileName("APPL"), i.e., gets full pathname of an application
  311.       -- chosen via the Standard File Package
  312.       put GetFilePath() into appPath
  313.  
  314.       if appPath is empty then
  315.         exit mouseUp
  316.       end if
  317.     else
  318.       put checkList into appPath
  319.     end if
  320.     open thePathName with appPath -- open document with application
  321.     exit mouseUp
  322.   end if
  323.   exit mouseUp
  324. end mouseUp
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. -- part 61 (field)
  334. -- low flags: 01
  335. -- high flags: 2007
  336. -- rect: left=352 top=48 right=278 bottom=407
  337. -- title width / last selected line: 0
  338. -- icon id / first selected line: 0 / 0
  339. -- text alignment: 0
  340. -- font id: 3
  341. -- text size: 9
  342. -- style flags: 0
  343. -- line height: 12
  344. -- part name: Type
  345. ----- HyperTalk script -----
  346. -- multiple scroll
  347. on mouseWithin
  348.   global initScroll
  349.   ScrollEm (the scroll of me)
  350. end mouseWithin
  351.  
  352. on mouseUp
  353.   send mouseUp to bkgnd field "Files"
  354. end mouseUp
  355.  
  356. --find field line clicked on
  357. function lineClicked
  358. return (round((the scroll of the target / the textHeight of the target) +  (((the mouseV - item 2 of the rect of the target) div the textHeight of the target) + 1)))
  359. end lineClicked
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366. -- part 62 (field)
  367. -- low flags: 01
  368. -- high flags: 2007
  369. -- rect: left=390 top=48 right=278 bottom=448
  370. -- title width / last selected line: 0
  371. -- icon id / first selected line: 0 / 0
  372. -- text alignment: 0
  373. -- font id: 3
  374. -- text size: 9
  375. -- style flags: 0
  376. -- line height: 12
  377. -- part name: Creator
  378. ----- HyperTalk script -----
  379. -- multiple scroll
  380. on mouseWithin
  381.   global initScroll
  382.   ScrollEm (the scroll of me)
  383. end mouseWithin
  384.  
  385.  
  386. on mouseUp
  387.   send mouseUp to bkgnd field "Files"
  388. end mouseUp
  389.  
  390. --find field line clicked on
  391. function lineClicked
  392. return (round((the scroll of the target / the textHeight of the target) +  (((the mouseV - item 2 of the rect of the target) div the textHeight of the target) + 1)))
  393. end lineClicked
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. -- part 67 (button)
  402. -- low flags: 00
  403. -- high flags: 0001
  404. -- rect: left=432 top=48 right=278 bottom=454
  405. -- title width / last selected line: 0
  406. -- icon id / first selected line: 0 / 0
  407. -- text alignment: 1
  408. -- font id: 0
  409. -- text size: 12
  410. -- style flags: 0
  411. -- line height: 16
  412. -- part name: New Button
  413.  
  414.  
  415. -- part 57 (field)
  416. -- low flags: 80
  417. -- high flags: 0007
  418. -- rect: left=281 top=60 right=302 bottom=372
  419. -- title width / last selected line: 0
  420. -- icon id / first selected line: 0 / 0
  421. -- text alignment: 0
  422. -- font id: 3
  423. -- text size: 9
  424. -- style flags: 0
  425. -- line height: 12
  426. -- part name: AllInfo
  427.  
  428.  
  429. -- part 6 (button)
  430. -- low flags: 00
  431. -- high flags: A000
  432. -- rect: left=442 top=190 right=237 bottom=497
  433. -- title width / last selected line: 0
  434. -- icon id / first selected line: 5929 / 5929
  435. -- text alignment: 1
  436. -- font id: 0
  437. -- text size: 12
  438. -- style flags: 0
  439. -- line height: 16
  440. -- part name: Erase Fields
  441. ----- HyperTalk script -----
  442. on mouseUp
  443.   answer "Erase current fields?" with "OK" or "Cancel"
  444.   if it contains "Cancel" then exit mouseUp
  445.   if bkgnd field "Box Card" is not empty then
  446.     put bkgnd field "Box Card" into indxCrd
  447.     put bkgnd field "PageOfBox" into linos
  448.     set lockScreen to true
  449.     push card
  450.     go to card indxCrd
  451.     if the result is not empty then
  452.       pop card
  453.     else
  454.       put "Empty" into line (linos) of bkgnd field "Box Index" of card indxCrd
  455.       pop card
  456.     end if
  457.   end if
  458.   repeat with i =1 to 12
  459.     put empty into bkgnd field i
  460.   end repeat
  461. end mouseUp
  462.  
  463.  
  464.  
  465. -- part 7 (button)
  466. -- low flags: 00
  467. -- high flags: A000
  468. -- rect: left=449 top=141 right=188 bottom=491
  469. -- title width / last selected line: 0
  470. -- icon id / first selected line: 20605 / 20605
  471. -- text alignment: 1
  472. -- font id: 0
  473. -- text size: 12
  474. -- style flags: 0
  475. -- line height: 16
  476. -- part name: Read Disk
  477. ----- HyperTalk script -----
  478. on mouseUp
  479.   global fromXCMD
  480.   if bkgnd field "Files" is empty then
  481.     eraseEm
  482.     put false into fromXCMD
  483.     openCard
  484.   else
  485.     answer "Erase current fields?" with "Yes" or "Cancel"
  486.     if it contains "Yes" then
  487.       eraseEm
  488.       put false into fromXCMD
  489.       openCard
  490.     end if
  491.   end if
  492. end mouseUp
  493.  
  494.  
  495. on eraseEm
  496.   repeat with i =1 to 12
  497.     put empty into bkgnd field i
  498.   end repeat
  499. end eraseEm
  500.  
  501.  
  502. -- part 11 (field)
  503. -- low flags: 01
  504. -- high flags: 0000
  505. -- rect: left=202 top=278 right=290 bottom=245
  506. -- title width / last selected line: 0
  507. -- icon id / first selected line: 0 / 0
  508. -- text alignment: 0
  509. -- font id: 3
  510. -- text size: 9
  511. -- style flags: 0
  512. -- line height: 12
  513. -- part name: TotalFolders
  514.  
  515.  
  516. -- part 10 (field)
  517. -- low flags: 01
  518. -- high flags: 0000
  519. -- rect: left=348 top=278 right=290 bottom=393
  520. -- title width / last selected line: 0
  521. -- icon id / first selected line: 0 / 0
  522. -- text alignment: 0
  523. -- font id: 3
  524. -- text size: 9
  525. -- style flags: 0
  526. -- line height: 12
  527. -- part name: TotalFiles
  528.  
  529.  
  530. -- part 8 (button)
  531. -- low flags: 00
  532. -- high flags: 0000
  533. -- rect: left=159 top=313 right=336 bottom=185
  534. -- title width / last selected line: 0
  535. -- icon id / first selected line: 1014 / 1014
  536. -- text alignment: 1
  537. -- font id: 0
  538. -- text size: 12
  539. -- style flags: 0
  540. -- line height: 16
  541. -- part name: Prev
  542. ----- HyperTalk script -----
  543. on mouseUp
  544.   -- go back
  545.   put bkgnd field "PageOfBox" into oPage
  546.   put word 1 to ((the number of words in the short name of this card )-1) of the short name of this card into oCard
  547.   put oCard&&oPage-1 into nCard
  548.   visual effect scroll right
  549.   go to card nCard
  550. end mouseUp
  551.  
  552.  
  553.  
  554.  
  555.  
  556. -- part 64 (field)
  557. -- low flags: 80
  558. -- high flags: 0004
  559. -- rect: left=369 top=27 right=47 bottom=428
  560. -- title width / last selected line: 0
  561. -- icon id / first selected line: 0 / 0
  562. -- text alignment: 0
  563. -- font id: 3
  564. -- text size: 12
  565. -- style flags: 0
  566. -- line height: 16
  567. -- part name: Disk Page
  568.  
  569.  
  570. -- part 9 (button)
  571. -- low flags: 00
  572. -- high flags: 0000
  573. -- rect: left=297 top=313 right=336 bottom=322
  574. -- title width / last selected line: 0
  575. -- icon id / first selected line: 1013 / 1013
  576. -- text alignment: 1
  577. -- font id: 0
  578. -- text size: 12
  579. -- style flags: 0
  580. -- line height: 16
  581. -- part name: Next
  582. ----- HyperTalk script -----
  583. on mouseUp
  584.   global fromXCMD, hardDisk
  585.   put false into tempCheck
  586.  
  587.   -- give the option of adding a new page if there isn't one
  588.  
  589.  
  590.   put bkgnd field "PageOfBox" into oPage --the page number of this card
  591.   put bkgnd field "Box Name" into boxName -- current box name
  592.   put bkgnd field "Box Card" into oIndex -- name of index card
  593.   put bkgnd field "Volume" into oVol
  594.  
  595.   -- get the name of this card without any numerical suffix
  596.   put word 1 to ((the number of words in the short name of this card )-1) of the short name of this card into oCard
  597.  
  598.   -- set the name of the new card to the same as this but with a numerical
  599.   -- suffix one number greater, then go to the new card (or next card)
  600.  
  601.   put oCard&&oPage+1 into nCard
  602.   visual effect scroll left
  603.   go to card nCard
  604.  
  605.   -- if the next card doesn't exist, prepare to make one.
  606.  
  607.   if the result is not empty then
  608.  
  609.     -- a flag for marking when the last existing card in a box is arrived at, for
  610.     -- use when this script is called from the New Card button
  611.     global checkIt
  612.     put TRUE into checkIt
  613.  
  614.     -- make the new card if you want to
  615.  
  616.     if fromXCMD contains false then
  617.       answer "Add a page?" with "Cancel" or "OK"
  618.       if it contains "OK" then
  619.         put true into tempCheck
  620.       end if
  621.     else
  622.       put true into tempCheck
  623.     end if
  624.  
  625.  
  626.     if tempCheck contains true then
  627.       set lockMessages to true
  628.       doMenu New Card
  629.       set the name of this card to nCard
  630.       put oPage+1 into bkgnd field "PageOfBox" of card nCard
  631.       put boxName into bkgnd field "Box Name" of card nCard
  632.       put oIndex into bkgnd field "Box Card" of card nCard
  633.       if fromXCMD contains TRUE then
  634.         put oVol into bkgnd field "Volume" of card nCard
  635.       end if
  636.       if hardDisk contains true then
  637.         put "true" into bkgnd field "Hard Disk?"
  638.         put "Page#:" into bkgnd field "Name Of Page"
  639.       else
  640.         put "false" into bkgnd field "Hard Disk?"
  641.         put "Disk#:" into bkgnd field "Name Of Page"
  642.       end if
  643.       set lockMessages to false
  644.  
  645.       -- to avoid too much recursion, now that the card is all nicely
  646.       -- created we can send an openCard to call up the ReadAutoCat
  647.       -- XCMD from the bkgnd script
  648.  
  649.       send openCard to card nCard
  650.     end if
  651.   end if
  652.   put false into fromXCMD
  653. end mouseUp
  654.  
  655.  
  656. -- part 39 (button)
  657. -- low flags: 00
  658. -- high flags: A000
  659. -- rect: left=449 top=243 right=288 bottom=490
  660. -- title width / last selected line: 0
  661. -- icon id / first selected line: 30527 / 30527
  662. -- text alignment: 1
  663. -- font id: 0
  664. -- text size: 12
  665. -- style flags: 0
  666. -- line height: 16
  667. -- part name: Find
  668. ----- HyperTalk script -----
  669. on mouseUp
  670.   searchAC 1
  671. end mouseUp
  672.  
  673.  
  674.  
  675. -- part 41 (button)
  676. -- low flags: 00
  677. -- high flags: 0000
  678. -- rect: left=326 top=313 right=336 bottom=357
  679. -- title width / last selected line: 0
  680. -- icon id / first selected line: 2162 / 2162
  681. -- text alignment: 1
  682. -- font id: 0
  683. -- text size: 12
  684. -- style flags: 0
  685. -- line height: 16
  686. -- part name: Return
  687. ----- HyperTalk script -----
  688. on mouseUp
  689.   visual effect iris close
  690.   get bkgnd field "Box Card"
  691.   if it is empty then
  692.     go to card id 6151
  693.   else
  694.     go to card it
  695.   end if
  696. end mouseUp
  697.  
  698.  
  699.  
  700. -- part 46 (button)
  701. -- low flags: 00
  702. -- high flags: A000
  703. -- rect: left=448 top=95 right=138 bottom=490
  704. -- title width / last selected line: 0
  705. -- icon id / first selected line: 24671 / 24671
  706. -- text alignment: 1
  707. -- font id: 0
  708. -- text size: 12
  709. -- style flags: 0
  710. -- line height: 16
  711. -- part name: New Card
  712. ----- HyperTalk script -----
  713. on mouseUp
  714.   global fromXCMD
  715.   global checkIt
  716.   put false into checkIt
  717.   set cursor to 4
  718.   set lockMessages to true
  719.   repeat until checkIt
  720.     send mouseUp to bkgnd btn "Next"
  721.   end repeat
  722.   set lockMessages to false
  723.   put false into fromXCMD
  724. end mouseUp
  725.  
  726.  
  727.  
  728. -- part 47 (button)
  729. -- low flags: 00
  730. -- high flags: 0000
  731. -- rect: left=7 top=305 right=338 bottom=40
  732. -- title width / last selected line: 0
  733. -- icon id / first selected line: 7992 / 7992
  734. -- text alignment: 1
  735. -- font id: 0
  736. -- text size: 12
  737. -- style flags: 0
  738. -- line height: 16
  739. -- part name: Home
  740. ----- HyperTalk script -----
  741. on mouseUp
  742.   visual effect iris close
  743.   go home
  744. end mouseUp
  745.  
  746.  
  747.  
  748.  
  749. -- part 48 (button)
  750. -- low flags: 00
  751. -- high flags: 2000
  752. -- rect: left=432 top=301 right=333 bottom=464
  753. -- title width / last selected line: 0
  754. -- icon id / first selected line: 29710 / 29710
  755. -- text alignment: 1
  756. -- font id: 0
  757. -- text size: 12
  758. -- style flags: 0
  759. -- line height: 16
  760. -- part name: HyperCard St…
  761. ----- HyperTalk script -----
  762. on mouseUp
  763.   EjectDisk 1 -- flush internal floppy drive
  764. end mouseUp
  765.  
  766.  
  767.  
  768. -- part 49 (button)
  769. -- low flags: 00
  770. -- high flags: 2000
  771. -- rect: left=468 top=301 right=333 bottom=500
  772. -- title width / last selected line: 0
  773. -- icon id / first selected line: 28661 / 28661
  774. -- text alignment: 1
  775. -- font id: 0
  776. -- text size: 12
  777. -- style flags: 0
  778. -- line height: 16
  779. -- part name: Eject 2
  780. ----- HyperTalk script -----
  781. on mouseUp
  782.   EjectDisk 2 -- flush external floppy drive
  783. end mouseUp
  784.  
  785.  
  786.  
  787. -- part 51 (field)
  788. -- low flags: 80
  789. -- high flags: 0002
  790. -- rect: left=404 top=89 right=108 bottom=505
  791. -- title width / last selected line: 0
  792. -- icon id / first selected line: 0 / 0
  793. -- text alignment: 0
  794. -- font id: 3
  795. -- text size: 12
  796. -- style flags: 0
  797. -- line height: 16
  798. -- part name: Box Card
  799.  
  800.  
  801. -- part 53 (button)
  802. -- low flags: 00
  803. -- high flags: 0000
  804. -- rect: left=397 top=24 right=46 bottom=424
  805. -- title width / last selected line: 0
  806. -- icon id / first selected line: 19678 / 19678
  807. -- text alignment: 1
  808. -- font id: 0
  809. -- text size: 12
  810. -- style flags: 0
  811. -- line height: 16
  812. -- part name: Inigo Gets O…
  813. ----- HyperTalk script -----
  814. on mouseUp
  815.   push card
  816.   visual effect dissolve
  817.   go to card id 7767
  818. end mouseUp
  819.  
  820.  
  821. -- part 54 (field)
  822. -- low flags: 01
  823. -- high flags: 0002
  824. -- rect: left=20 top=26 right=45 bottom=100
  825. -- title width / last selected line: 0
  826. -- icon id / first selected line: 0 / 0
  827. -- text alignment: 0
  828. -- font id: 3
  829. -- text size: 9
  830. -- style flags: 0
  831. -- line height: 15
  832. -- part name: Date
  833.  
  834.  
  835. -- part 65 (field)
  836. -- low flags: 81
  837. -- high flags: 0004
  838. -- rect: left=39 top=27 right=47 bottom=98
  839. -- title width / last selected line: 0
  840. -- icon id / first selected line: 0 / 0
  841. -- text alignment: 0
  842. -- font id: 3
  843. -- text size: 12
  844. -- style flags: 0
  845. -- line height: 16
  846. -- part name: Hard Disk?
  847.  
  848.  
  849. -- part 69 (field)
  850. -- low flags: 01
  851. -- high flags: 0002
  852. -- rect: left=439 top=23 right=87 bottom=499
  853. -- title width / last selected line: 0
  854. -- icon id / first selected line: 0 / 0
  855. -- text alignment: 0
  856. -- font id: 3
  857. -- text size: 12
  858. -- style flags: 0
  859. -- line height: 16
  860. -- part name: 
  861.  
  862.  
  863. -- part 70 (button)
  864. -- low flags: 00
  865. -- high flags: 0000
  866. -- rect: left=452 top=22 right=54 bottom=485
  867. -- title width / last selected line: 0
  868. -- icon id / first selected line: 24438 / 24438
  869. -- text alignment: 1
  870. -- font id: 0
  871. -- text size: 12
  872. -- style flags: 0
  873. -- line height: 16
  874. -- part name: Box Name
  875. ----- HyperTalk script -----
  876. on mouseUp
  877.   visual effect iris close
  878.   get bkgnd field "Box Card"
  879.   go to card it
  880. end mouseUp
  881.  
  882.  
  883.  
  884. -- part 74 (field)
  885. -- low flags: 01
  886. -- high flags: 0002
  887. -- rect: left=439 top=70 right=87 bottom=499
  888. -- title width / last selected line: 0
  889. -- icon id / first selected line: 0 / 0
  890. -- text alignment: 0
  891. -- font id: 3
  892. -- text size: 12
  893. -- style flags: 0
  894. -- line height: 16
  895. -- part name: 
  896.  
  897.  
  898. -- part 71 (field)
  899. -- low flags: 01
  900. -- high flags: 0000
  901. -- rect: left=443 top=72 right=84 bottom=480
  902. -- title width / last selected line: 0
  903. -- icon id / first selected line: 0 / 0
  904. -- text alignment: 0
  905. -- font id: 3
  906. -- text size: 9
  907. -- style flags: 0
  908. -- line height: 12
  909. -- part name: Name Of Page
  910.  
  911.  
  912. -- part 72 (field)
  913. -- low flags: 01
  914. -- high flags: 0000
  915. -- rect: left=475 top=72 right=86 bottom=498
  916. -- title width / last selected line: 0
  917. -- icon id / first selected line: 0 / 0
  918. -- text alignment: 1
  919. -- font id: 3
  920. -- text size: 9
  921. -- style flags: 0
  922. -- line height: 12
  923. -- part name: PageOfBox
  924.  
  925.  
  926. -- part 73 (field)
  927. -- low flags: 01
  928. -- high flags: 0000
  929. -- rect: left=441 top=55 right=69 bottom=497
  930. -- title width / last selected line: 0
  931. -- icon id / first selected line: 0 / 0
  932. -- text alignment: 1
  933. -- font id: 3
  934. -- text size: 9
  935. -- style flags: 0
  936. -- line height: 12
  937. -- part name: Box Name
  938.  
  939.  
  940. -- part 76 (button)
  941. -- low flags: 00
  942. -- high flags: 2000
  943. -- rect: left=49 top=305 right=338 bottom=76
  944. -- title width / last selected line: 0
  945. -- icon id / first selected line: 15084 / 15084
  946. -- text alignment: 1
  947. -- font id: 0
  948. -- text size: 12
  949. -- style flags: 0
  950. -- line height: 16
  951. -- part name: Appl Paths
  952. ----- HyperTalk script -----
  953. on mouseUp
  954.   push card
  955.   visual effect iris open
  956.   go to bkgnd ID 6410
  957. end mouseUp
  958.  
  959.  
  960.  
  961.  
  962. -- part 77 (button)
  963. -- low flags: 00
  964. -- high flags: 2000
  965. -- rect: left=92 top=310 right=338 bottom=127
  966. -- title width / last selected line: 0
  967. -- icon id / first selected line: 10823 / 10823
  968. -- text alignment: 1
  969. -- font id: 0
  970. -- text size: 12
  971. -- style flags: 0
  972. -- line height: 16
  973. -- part name: Back To Index
  974. ----- HyperTalk script -----
  975. on mouseUp
  976.   set lockScreen to true
  977.   send mouseUp to bkgnd btn "Return"
  978.   send mouseUp to bkgnd btn "Return"
  979. end mouseUp
  980.  
  981.  
  982.  
  983. -- part 78 (button)
  984. -- low flags: 00
  985. -- high flags: 0000
  986. -- rect: left=399 top=304 right=333 bottom=427
  987. -- title width / last selected line: 0
  988. -- icon id / first selected line: 17747 / 17747
  989. -- text alignment: 1
  990. -- font id: 0
  991. -- text size: 12
  992. -- style flags: 0
  993. -- line height: 16
  994. -- part name: Print Button
  995. ----- HyperTalk script -----
  996. on mouseUp
  997.   doMenu "Print Report..."
  998. end mouseUp
  999.  
  1000.